package com.vclee.fast.integration.power.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vclee.fast.integration.power.model.SysGroup;
import com.vclee.fast.integration.power.model.SysGroupUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysGroupUserMapper extends BaseMapper<SysGroupUser> {
    void batchInsert(@Param("userId") Long userId, @Param("ids") List<Integer> ids);

    List<SysGroup> selectListByUserId(@Param("userId") Integer userId);
}